#pragma once
#include "Object.h"
#include "MoveObject.h"
#include "GameDefine.h"
class ScubaSoldierBullet : public Object, public MoveObject
{
	Sprite* _explode;
	Sprite* _bullet;
	bool _isALive;
	SPRITE_ID _id;
	float _angle;
	float _timeExplode;
public:
	ScubaSoldierBullet(SPRITE_ID id);
	~ScubaSoldierBullet(void);

	void process(ObjectType oType, D3DXVECTOR2 pos, float v, float angle);

	virtual void update();
	void update(float heightLevel);
	virtual void render();

	virtual Box* getCollisionBox();

	bool isAlive();
};